{include file="header.tpl" }
<table width="98%" cellspacing=0 cellpadding=0 align=center>
  <tr>
    <td align=left> <b><A href=""><img src='{#t_images#}navi.gif' border=0 alt="">{$html_title}</A> &gt;&gt; {$list_nav}
    </b></td>
  </tr>
</table>
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>

<table width="98%"  border="0" align="center" cellspacing=1 cellpadding=3 >
<tr>
<td  height="50%" valign="top"><!-- left start -->
<table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
<tr align=center valign="top">
  <td colspan="2" class='f_one'><font color="#000000" style="font-size:16px"><b>{$glist.goods_name}</b></font>{if $glist.seller_qq_number}&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin={$glist.seller_qq_number}&Site={$glist.seller_logaccount}.{$domain}&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:{$glist.seller_qq_number}:3 alt="找我砍价QQ {$glist.seller_qq_number}"></a>{/if}
&nbsp;(<a href="index.php?act=Help#22"><font class=blue>帮 助</font></a>)    
<hr width="90%"><table width="100%" height="78"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td rowspan="5" align="center"><a href="{$pic_path}./{$glist.pic_name}" target="_blank"><img src="{$glist.pic_name}"  alt="" width="154"  border="0"></a><br>
      <a href="index.php?act=favors&code=add&GOODS_ID={$glist.goods_id}"><img src="{#t_images#}book.gif" width="20" height="21">收 藏</a>&nbsp;&nbsp;<a href="{$pic_path}./{$glist.pic_name}" target="_blank"><img src="{#t_images#}view.gif" width="20" height="21">查看大图</a></td>
    <td>商品名:{$glist.goods_name}</td>
  </tr>
  <tr>
    <td>价格:{if not $glist.goods_price} 面议{else}{$glist.goods_price}元{if $glist.goods_discount} X {$glist.goods_discount}%(折扣){/if} {/if}</td>
  </tr>
  <tr>
    <td>上架时间:{$glist.goods_store_date}</td>
  </tr>
  <tr>
    <td>有效日期:{$glist.goods_valid_period}(天)</td>
  </tr>
  <tr>
    <td>人气指数：{$glist.goods_visit_count}<br><br>      </td>
  </tr>
</table></td>
  
</tr>
<tr >
  <td colspan="2" class=left_head>填写订单</td>
</tr>
{section name=key loop=$message}{/section}<form action="" method="post" >
<tr class='f_one'>
  <td width="17%" >您的姓名：</td>
  <td width="83%" ><input name="od[bname]" type="text" class="form"  value="{$bname}" size="50"></td>
</tr>
<tr class='f_one'>
  <td width="17%" >您的联系电话：</td>
  <td ><input name="od[telephone]" type="text" value="{$telephone}" size="50"> <font class="red">请务必准确填写</font></td>
</tr>
<tr class='f_one'>
  <td width="17%" >您希望的送货地点：</td>
  <td ><input name="od[address]" type="text" size="50"> 
    <font class="red">请务必准确填写</font></td>
</tr>
<tr class='f_one'>
  <td width="17%" >定购数量：</td>
  <td ><input name="od[quantity]" type="text" size="50"></td>
</tr>
<tr class='f_one'>
  <td rowspan="2" >你的附加留言：</td>
  <td ><textarea name="od[extra]" cols="60" rows="10" class="form"></textarea><br>    </td>
</tr>
<tr >
  <td ><input name="code" type="hidden" id="code" value="doadd">
    <input name="od[gid]" type="hidden"  value="{$glist.goods_id}">
    <input name="od[sid]" type="hidden" id="od[sid]" value="{$glist.seller_id}">
    <input type="submit" name="Submit" id="button" value="   定 购   "></td>
</tr></form>
</table>
</td>
<!-- left end -->
<td  width="170" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="i_table"  style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all; WORD-WRAP: break-word">
  <tr>
    <td class=left_head>店铺信息</td>
  </tr>
  <tr>
    <td>店名:<a href="index.php?act=sd&SHOP_ID={$glist.shop_id}">{$glist.shop_name}</a></td>
  </tr>
  <tr>
    <td>商家:{$glist.seller_name}</td>
  </tr>
  <tr>
    <td>地点:{$glist.shop_location}</td>
  </tr>
  <tr>
    <td>电话:{$glist.shop_telephone}</td>
  </tr>
  <tr>
    <td>描述:{$glist.shop_describle}</td>
  </tr>
  <tr>
    <td><a href="index.php?act=sd&SHOP_ID={$glist.shop_id}"><IMG SRC='{#t_images#}navi.gif' BORDER=0 ALT="">查看该商铺所有商品</a></td>
  </tr>
</table></td>
<!-- right end -->
</tr>

</table>
{include file="Diamond.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Info.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
</td></tr></table>
{include file="footer.tpl"}